<section class="main">
    <div id="divMain">
        <div class="divHeader">评论管理</div>
        <div class="SubMenu"style="display: block;"><a href=""><span class="m-left m-now">审核评论</span></a></div>
        <div id="divMain2">
            <form class="search" id="search" method="post" action="#"><p>搜索&nbsp;&nbsp;&nbsp;&nbsp;
                <input name="search" style="width:450px;" type="text" value=""/>&nbsp;&nbsp;&nbsp;&nbsp;
                <input type="submit" class="button" value="提交"/></p>
            </form>
            <form method="post" action="/system/management/comment-remove.html">
                <table border="1" class="tableFull tableBorder tableBorder-thcenter">
                    <tr>
                        <th>ID</th><th>上层ID</th><th>标题</th><th>正文</th><th>文章</th><th>日期</th><th>操作</th><th><a href="" onclick="BatchSelectAll();return false;">全选</a></th>
                    </tr>
                    #foreach($model in $models)
                    <tr>
                        <td class="td5"><a href="/$!model.id" title="查看评论ID=1">$!model.id</a></td>
                        <td class="td5">$!model.parentId</td>
                        <td class="td10">$!model.title</td>
                        <td>
                            <div style="overflow:hidden;max-width:500px;">
                                <a href="/system/management/comment-edit.html?id=$!model.id&type=show" target="_blank">
                                    <img src="/resources/system/image/admin/link.png" width="16"/>
                                </a>$!model.content
                            </div>
                        </td>
                        <td class="td5">$!model.articleId</td>
                        <td class="td15">$!model.modifyTime</td>
                        <td class="td10 tdCenter">
                            <a  href="/system/management/comment-remove.html?id=$!model.id" onclick="return window.confirm('单击“确定”继续。单击“取消”停止。');"><img src="/resources/system/image/admin/delete.png" alt="删除" title="删除" width="16"/></a>&nbsp;&nbsp;&nbsp;&nbsp;
                            <a href="/system/management/comment-edit.html?id=$!model.id&type=show"><img src="/resources/system/image/admin/ok.png" alt="通过" title="通过" width="16"/></a>
                        </td>
                        <td class="td5 tdCenter"><input type="checkbox" id="id1" name="id[]" value="$!model.id"/></td>
                    </tr>
                    #end
                </table>
            </form>
        </div>
        <script type="text/javascript">ActiveLeftMenu("aCommentMng");</script>
        <script type="text/javascript">AddHeaderIcon("/resources/system/image/common/comments_32.png");</script>
    </div>
</section>